/* utils/map.js */
// 地图相关
module.exports = {
  // 地图部分参数

  // 腾讯位置服务API
  mapKey: "RCJBZ-DZRKB-TA6UK-JWKGT-OR2T7-3CFLT",

  // 学校精确坐标（用于地图定位和获取天气数据）
  longitude: '108.525598',
  latitude: '22.942993',

  // 是否展示 POI 点
  enablepoi: false,
  // 是否显示带有方向的当前定位点
  showLocation: true,
  // 缩放级别
  scale: 16.1,
  // 最小缩放级别，比缩放级别小0.1-0.2为宜
  minscale: 16,

  // 自定义图层
  groundoverlay: {
    // 图层透明度 0-1
    opacity: 0.8,
    // 西南角
    southwest_latitude: 25.088910,
    southwest_longitude: 110.273850,
    // 东北角
    northeast_latitude: 25.098995,
    northeast_longitude: 110.281229,
  },

  // 地图边界
  boundary: {
    // 西南角
    southwest_latitude: 22.745317,
    southwest_longitude: 108.448276,
    // 东北角
    northeast_latitude: 22.754353,
    northeast_longitude: 108.457554,
  },

  // 学校边界
  school_boundary: {
    // 东（学校最东端的 经度）
    east: 108.461028,
    // 西（学校最东端的 经度）
    west: 108.448723,
    // 南（学校最东端的 纬度）
    south: 22.745156,
    // 北（学校最东端的 纬度）
    north: 22.754357,
  },

  // 默认地点
  default_point: {
    name: "南门",
    aliases: "学校正大门",
    img: "https://mp-bd245ba4-8334-4b74-b9b4-10ac0ce0ec45.cdn.bspapp.com/p1.jpg",
    desc: "学校正大门\n可以通行行人和车辆",
    latitude: '22.745727',
    longitude: '108.451335',
  },

  // 地点数据（使用嵌套列表存储）
  site_data: [{
      id: 1,
      name: "楼宇",
      list: [{
          id: 1,
          name: "敷文园A",
          aliases: "1教学楼",
          img: "https://mp-bd245ba4-8334-4b74-b9b4-10ac0ce0ec45.cdn.bspapp.com/敷文园A.jpg",
          desc: "全校最靠南的两座教学楼之一",
          latitude: '22.747048',
          longitude: '108.452459',
        },
        {
          id: 2,
          name: "敷文园B",
          aliases: "2教学楼",
          img: "https://mp-bd245ba4-8334-4b74-b9b4-10ac0ce0ec45.cdn.bspapp.com/敷文园B.jpg",
          desc: "大教室多，考研自习室多",
          latitude: '22.747751',
          longitude: '108.452926',
        },
        {
          id: 3,
          name: "敷文园C",
          aliases: "3教学楼",
          img: "https://mp-bd245ba4-8334-4b74-b9b4-10ac0ce0ec45.cdn.bspapp.com/敷文园C.jpg",
          desc: "离宿舍最远的一栋，全校最靠南的两座教学楼之一，痛苦C",
          latitude: '22.747384',
          longitude: '108.450597',
        },
        {
          id: 4,
          name: "敷文园D",
          aliases: "4教学楼",
          img: "https://mp-bd245ba4-8334-4b74-b9b4-10ac0ce0ec45.cdn.bspapp.com/敷文园D.jpg",
          desc: "中规中矩",
          latitude: '22.747947',
          longitude: '108.45041',
        },
        {
          id: 5,
          name: "敷文园E",
          aliases: "5教学楼",
          img: "https://mp-bd245ba4-8334-4b74-b9b4-10ac0ce0ec45.cdn.bspapp.com/敷文园E.jpg",
          desc: "中规中矩",
          latitude: '22.748636',
          longitude: '108.450861',
        },
        {
          id: 6,
          name: "敷文园F",
          aliases: "6教学楼",
          img: "https://mp-bd245ba4-8334-4b74-b9b4-10ac0ce0ec45.cdn.bspapp.com/敷文园F.jpg",
          desc: "中规中矩",
          latitude: '22.749173',
          longitude: '108.450892',
        },
      ]
    },
    {
      id: 2,
      name: "图书馆",
      list: [{
          id: 1,
          name: "图书馆",
          aliases: "九层阅览室",
          img: "https://mp-bd245ba4-8334-4b74-b9b4-10ac0ce0ec45.cdn.bspapp.com/图书馆/图书馆.jpg",
          desc: "很大很舒适就是人太多了",
          latitude: '22.749365',
          longitude: '108.451814',
        },
      ]
    },
    {
      id: 3,
      name: "二级学院",
      list: [{
          id: 1,
          name: "人工智能与软件学院",
          aliases: "",
          img: "https://mp-bd245ba4-8334-4b74-b9b4-10ac0ce0ec45.cdn.bspapp.com/人工智能与软件学院.jpg",
          desc: "足球场旁边",
          latitude: '22.752301',
          longitude: '108.450554',
        },
        {
          id: 2,
          name: "土木学院",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/土木学院.jpg",
          desc: "",
          latitude: '22.74962',
          longitude: '108.44979',
        },
        {
          id: 3,
          name: "交通学院",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/交通学院.jpg",
          desc: "",
          latitude: '22.750654',
          longitude: '108.449601',
        },
        {
          id: 4,
          name: "信息工程学院",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/信息工程学院.png",
          desc: "",
          latitude: '22.747451',
          longitude: '108.449484',
        },
        {
          id: 5,
          name: "数字经济学院",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/数字经济学院.png",
          desc: "",
          latitude: '22.753686',
          longitude: '108.451403',
        },
        {
          id: 6,
          name: "智能制造学院",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/智能制造学院.png",
          desc: "",
          latitude: '22.753618',
          longitude: '108.452778',
        },
        {
          id: 7,
          name: "继续教育学院",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/继续教育学院.png",
          desc: "",
          latitude: '22.746193',
          longitude: '108.452684',
        },
        {
          id: 8,
          name: "讯飞楼",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/讯飞楼.png",
          desc: "",
          latitude: '22.753859',
          longitude: '108.453402',
        },
        {
          id: 9,
          name: "南硅谷B",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/南硅谷B.png",
          desc: "",
          latitude: '22.748179',
          longitude: '108.449558',
        },
        {
          id: 10,
          name: "南硅谷C",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/南硅谷C.jpg",
          desc: "",
          latitude: '22.748864',
          longitude: '108.449641',
        },
      ]
    },
    {
      id: 4,
      name: "校门",
      list: [{
          id: 1,
          name: "南门",
          aliases: "学校正大门",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/p1.jpg",
          desc: "全校最气派的建筑，没有之一",
          latitude: '22.745727',
          longitude: '108.451335',
        },
      ]
    },
    {
      id: 5,
      name: "行政楼",
      list: [{
          id: 1,
          name: "行政楼",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/行政楼.jpg",
          desc: "",
          latitude: '22.746181',
          longitude: '108.45091',
        },
      ]
    },
    {
      id: 6,
      name: "体育场馆",
      list: [{
          id: 1,
          name: "体育馆",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/体育馆.jpg",
          desc: "学生锻炼的好去处",
          latitude: '22.750735',
          longitude: '108.4518',
        },
      ]
    },
    {
      id: 7,
      name: "风景",
      list: [{
          id: 1,
          name: "不孤湖",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/p5.jpg",
          desc: "德不孤，必有邻",
          latitude: '22.748336',
          longitude: '108.452311',
        },
        {
          id: 2,
          name: "风雨桥",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/p3.jpg",
          desc: "曾经以为它叫不孤桥",
          latitude: '22.748791',
          longitude: '108.452884',
        },
      ]
    },
    {
      id: 8,
      name: "美食",
      list: [{
          id: 1,
          name: "1食堂",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/一食堂.jpg",
          desc: "冲呀！干饭呀！",
          latitude: '22.749659',
          longitude: '108.454163',
        },
        {
          id: 2,
          name: "3食堂",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/三食堂.jpg",
          desc: "商家跑路，至今没有缓过气来",
          latitude: '22.745516',
          longitude: '108.45444',
        },
      ]
    },
    {
      id: 9,
      name: "学生活动",
      list: [{
          id: 1,
          name: "学生活动中心",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/学生活动中心.png",
          desc: "",
          latitude: '22.750912',
          longitude: '108.453393',
        },
        {
          id: 2,
          name: "学生演艺中心",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/学生演义中心.png",
          desc: "大一总有莫名其妙的会议要在这里开",
          latitude: '22.74624',
          longitude: '108.453531',
        },
        {
          id: 3,
          name: "图书馆报告大厅",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/图书馆报告大厅.png",
          desc: "没错，它在图书馆一楼，于是图书馆二楼就变成了一楼",
          latitude: '22.7492',
          longitude: '108.452111',
        },
      ]
    },
    {
      id: 10,
      name: "宿舍公寓",
      list: [{
          id: 1,
          name: "学生宿舍楼1",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/学生宿舍楼1.png",
          desc: "食堂就在对面，干饭干饭",
          latitude: '22.749885',
          longitude: '108.454984',
        },
        {
          id: 2,
          name: "学生宿舍楼2",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/学生宿舍楼2.png",
          desc: "",
          latitude: '22.751062',
          longitude: '108.455227',
        },
        {
          id: 3,
          name: "11栋",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/11栋.png",
          desc: "仍然是目前最好的宿舍之一",
          latitude: '22.745826',
          longitude: '108.455368',
        },
        {
          id: 4,
          name: "12栋",
          aliases: "",
          img: "https://mp-6b619287-e270-4103-a332-0f363ae149e8.cdn.bspapp.com/12栋.png",
          desc: "仍然是目前最好的宿舍之一",
          latitude: '22.745614',
          longitude: '108.456269',
        },
      ]
    },
  ]
}